import { BaseProcessor } from './baseProcessor.js'
import fs from 'fs/promises'

export class TextProcessor extends BaseProcessor {
  async process(filePath) {
    const content = await fs.readFile(filePath, 'utf-8')
    return this.normalizeWhitespace(content)
  }
} 